//
//  WJQTripModel.m
//  TripTogether
//
//  Created by dllo on 15/12/29.
//  Copyright © 2015年 王军岐. All rights reserved.
//

#import "WJQTripModel.h"

@implementation WJQTripModel

- (void)setValue:(id)value forKey:(NSString *)key
{
    [super setValue:value forKey:key];
    
    if ([key isEqualToString:@"type"]) {
        self.type = [NSString stringWithFormat:@"%@", value];
    }
    
    if ([key isEqualToString:@"day_count"]) {
        self.day_count = [NSString stringWithFormat:@"%@", value];
    } else if ([key isEqualToString:@"view_count"]) {
        self.view_count = [NSString stringWithFormat:@"%@", value];
    }
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
@end
